<div class="xm-back-top" (click)="clickBack()" *ngIf="visible" @fadeShow>  
    <ng-template #defTpl>
        <div class="content">
            <div class="icon"></div>
        </div>
    </ng-template>
   
    <ng-container *ngTemplateOutlet="tpl || defTpl"></ng-container>
</div>